package masml2jade;

import java.util.Hashtable;

public class Organization {
	private Hashtable<String, Belief> beliefs = new Hashtable<String, Belief>();
	private Hashtable<String, Goal> goals = new Hashtable<String, Goal>();
	private Hashtable<String, Plan> plans = new Hashtable<String, Plan>();
	private Hashtable<String, Action> actions = new Hashtable<String, Action>();
	private Hashtable<String, Axiom> axioms = new Hashtable<String, Axiom>();
	
	private String name;

	// Beliefs
	public Belief getBelief(String key) {
		return beliefs.get(key);
	}
	public void addBelief(String key, Belief belief) {
		beliefs.put(key, belief);
	}
	public Belief removeBelief(String key) {
		return beliefs.remove(key);
	}
	
	// Goals
	public Goal getGoal(String key) {
		return goals.get(key);
	}
	public void addGoal(String key, Goal goal) {
		goals.put(key, goal);
	}
	public Goal removeGoal(String key) {
		return goals.remove(key);
	}
	
	// Plans
	public Plan getPlan(String key) {
		return plans.get(key);
	}
	public void addPlan(String key, Plan plan) {
		plans.put(key, plan);
	}
	public Plan removePlan(String key) {
		return plans.remove(key);
	}
	
	// Actions
	public Action getAction(String key) {
		return actions.get(key);
	}
	public void addAction(String key, Action action) {
		actions.put(key, action);
	}
	public Action removeAction(String key) {
		return actions.remove(key);
	}
	
	// Axioms
	public Axiom getAxiom(String key) {
		return axioms.get(key);
	}
	public void addAxiom(String key, Axiom axiom) {
		axioms.put(key, axiom);
	}
	public Axiom removeAxiom(String key) {
		return axioms.remove(key);
	}
}
